using System.Transactions;
using Admin2025.Domain.Events;
using MediatR;

namespace Admin2025.Application.Events;

//领域事件通知工厂接口
public interface IDomainEventNotificationFactory
{
    //根据领域事件创建对应的MediatR通知
    INotification? CreateNotification(IDomainEvent domainEvent);
}